package com.imodia.checkoo.bean;

public class CmsDocumentInfoBean {

	private Integer id;
	private String cnName;
	private String tag;
	private Integer valueLong;
	private Integer dataType;
	private Integer notNull;
	private Integer documentId;
	private String checkCode;
	private Integer priority;
	private String fieldName;
	
	
	
	
	public String getFieldName() {
		if(tag!=null){
			fieldName = tag.replaceAll("_", "");
		}
		return fieldName;
	}
	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}
	public Integer getPriority() {
		return priority;
	}
	public void setPriority(Integer priority) {
		this.priority = priority;
	}
	public Integer getDocumentId() {
		return documentId;
	}
	public void setDocumentId(Integer documentId) {
		this.documentId = documentId;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCnName() {
		return cnName;
	}
	public void setCnName(String cnName) {
		this.cnName = cnName;
	}
	public String getTag() {
		return tag;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	public Integer getValueLong() {
		return valueLong;
	}
	public void setValueLong(Integer valueLong) {
		this.valueLong = valueLong;
	}
	public Integer getDataType() {
		return dataType;
	}
	public void setDataType(Integer dataType) {
		this.dataType = dataType;
	}
	public String getCheckCode() {
		return checkCode;
	}
	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}
	public Integer getNotNull() {
		return notNull;
	}
	public void setNotNull(Integer notNull) {
		this.notNull = notNull;
	}
	
	
}